package cn.iocoder.yudao.module.shop.controller.admin.itemtimesrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 项目次数变化记录 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class ShopItemTimesRecordBaseVO {

    @Schema(description = "会员id", requiredMode = Schema.RequiredMode.REQUIRED, example = "30767")
    @NotNull(message = "会员id不能为空")
    private Long memberId;

    @Schema(description = "昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotNull(message = "昵称不能为空")
    private String nickname;

    @Schema(description = "项目id", requiredMode = Schema.RequiredMode.REQUIRED, example = "29969")
    @NotNull(message = "项目id不能为空")
    private Long optItemId;

    @Schema(description = "项目名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotNull(message = "项目名称不能为空")
    private String itemName;

    @Schema(description = "变化量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "变化量不能为空")
    private Integer changeValue;

    @Schema(description = "变化后", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "变化后不能为空")
    private Integer changeAfter;

    @Schema(description = "金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "8386")
    @NotNull(message = "金额不能为空")
    private Integer price;

    @Schema(description = "原因", requiredMode = Schema.RequiredMode.REQUIRED, example = "不香")
    @NotNull(message = "原因不能为空")
    private String reason;

}
